From: Frederic Crozat Date: Fri, 16 Apr 2021 12:09:23 +0000 (+0200) Subject: st/scroll-view: Ensure float are used explictly X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~58 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d9e953e93ca3df38600f0286bf58a8d0e6812e7d;p=gnome-shell.git st/scroll-view: Ensure float are used explictly Pineview needs explicit float to prevent error when shader is compiled. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4127 Part-of: --- diff --git a/src/st/st-scroll-view-fade.glsl b/src/st/st-scroll-view-fade.glsl index 264f3bcd7..0d8812b07 100644 --- a/src/st/st-scroll-view-fade.glsl +++ b/src/st/st-scroll-view-fade.glsl @@ -70,6 +70,6 @@ void main () cogl_color_out *= ratio; } else { - cogl_color_out *= 0; + cogl_color_out *= 0.0; } }